<table style="border-spacing:0; padding:0" width="100%">
    <thead>
        <tr>
            <th><?= lang('reviews.total_score') ?></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>

                <div class="big_score"><?= $details->avg_reviews_score; ?><span>/10</span></div>

            </td>

        </tr>
    </tbody>
</table>

<h3><?= lang('reviews.comments') ?> </h3>
<br>

<? foreach ($details->all_reviews as $review): ?>

        <div class="one_comment clearfix">

            <div class="ccol--1"><?= $review->score ?></div>

            <div class="ccol-1">

                <div class="f_l_name"><?= $review->name ?></br><?= $review->surname ?></div>
                <div class="date"><?= date('d.m.Y', $review->datetime); ?></div>

            </div>

            <div class="ccol-2"><?= $review->comment ?></div>

        </div>

    <? endforeach; ?>
